<template lang="jade">
  div#app
    h2
      span {{'pomodoro'|uppercase|addspace}}
      controls-component

    state-title-component(v-bind:isworking="!isworking")
    countdown-component
    kittens-component(v-show="!isworking")
</template>

<script>
import ControlsComponent from './components/ControlsComponent'
import CountdownComponent from './components/CountdownComponent'
import StateTitleComponent from './components/StateTitleComponent'
import KittensComponent from './components/KittensComponent'

window.data = {
  isworking: true
}

export default {
  name: 'App',
  components: {
    ControlsComponent,
    StateTitleComponent,
    CountdownComponent,
    KittensComponent
  },
  data: function () {
    return window.data
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
